/*
 * EventLogger.h
 *
 *  Created on: Dec 10, 2011
 *      Author: Michael Anderson
 *      Part of Team 955 Battery Cart project
 *      compiled on Eclipse with Arduino libraries and avr-gcc
 */

#ifndef EVENTLOGGER_H_
#define EVENTLOGGER_H_

#include <stdio.h>
#include <stdlib.h>
#include <Arduino.h>
#include "enums.h"
#include "EventCallback.h"
//#include "SD.h"

class EventManager {
public:
    EventManager();
    void chargerEvent(uint8_t, charger_event);
    void conditionerEvent(uint8_t, uint8_t, conditioner_event, conditioner_state, conditioner_state, uint32_t);
    void println(char*);
    void setEventListener(EventCallback*);

private:
    EventCallback *listener;
    //SDClass *sd;
};

#endif /* EVENTLOGGER_H_ */
